package org.linlinjava.litemall.web.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.linlinjava.litemall.db.domain.LumiereFormula;
import org.linlinjava.litemall.web.dto.WebGoodsTaxDTO;
import org.linlinjava.litemall.web.vo.goods.FormulaSpecificationsVO;

import java.math.BigDecimal;
import java.util.List;
@ApiModel("商品详情信息")
@Data
public class LlitemallGoodsDetailVO {
    @ApiModelProperty(value = "id")
    private Integer id;
    @ApiModelProperty(value = "商品名称")
    private String name;
    @ApiModelProperty(value = "商品英文名称")
    private String nameEn;
    @ApiModelProperty(value = "商品编号")
    private String goodsSn;
    @ApiModelProperty(value = "商品图片")
    private String picUrl;
    @ApiModelProperty(value = "商品分享朋友圈图片")
    private String shareUrl;
    @ApiModelProperty(value = "是否新品首发")
    private Boolean isNew;
    @ApiModelProperty(value = "是否人气推荐")
    private Boolean isHot;
    @ApiModelProperty(value = "是否需要配送费")
    private Boolean isDistribution;
    @ApiModelProperty(value = "配送费")
    private BigDecimal distributionFee;

    private Integer orderGoodsId;

    private Short number;

    private Short goodsNumber;

    private Integer muchContent;

    private Integer fewContent;

    //税费
    @ApiModelProperty(value = "商品税费")
    private List<WebGoodsTaxDTO> goodsTaxs;


    @ApiModelProperty(value = "属性集合")
    private List<GoodsPropertyVO> propertyVos;

    //配方
    //private Boolean isFormula;

    @ApiModelProperty(value = "配方")
    private LumiereFormula formula;

    /**
     * 配方规格 原料(主料/辅料)数据配比
     */
    private List<FormulaSpecificationsVO> goodsFormulas;




    /**
     * 主料
     */
    private GoodsSpecificationsVO specificationsVo;

    /**
     * 辅料集合
     */
    @ApiModelProperty(value = "辅料集合")
    private List<GoodsAccessoryVO> accessoryVos;


}
